home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950528-19950726
/
000014_news@columbia.edu_Thu Jun 1 01:03:54 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA18309
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 31 May 1995 18:17:23 -0400
Received: by apakabar.cc.columbia.edu id AA26327
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 31 May 1995 18:17:21 -0400
Path: news.columbia.edu!panix!news.mathworks.com!gatech!newsxfer.itd.umich.edu!gumby!mickey.acs.wmich.edu!tucker
From: "John D. Tucker" <tucker@mickey.acs.wmich.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Piping output from "rem host" command
Date: Wed, 31 May 1995 16:03:54 -0900
Organization: Western Michigan University
Lines: 27
Message-Id: <Pine.PCP.3.91.950531154729.6366A-100000-100000-100000@[141.218.24.34]>
Nntp-Posting-Host: moggie.acs.wmich.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: tucker@gumby.cc.wmich.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
I would like to send a command to a remote computer and capture a brief
(one line of characters) response from that computer for processing
within a script. Reading the "Using MS-DOS Kermit" manual, I found that
rem host [command] > d:\log\remote.out
would capture the output from "[command]" in the file "d:\log\remote.out".
However, when using the pipe symbol (instead of the redirection symbol),
the symbol gets sent to the remote host rather than piping the output to
some program.
Any suggestions how I could get the response from the remote computer
into a Kermit script variable, piped to a DOS command/executable, or
otherwise made available WITHOUT the intermediate step of writing to a file?
Even dumping the entire contents of the communications buffer would work
as I could probably filter out what I want.
Thank you.
John D. Tucker Phone: (616) 387-5448
Systems Programmer Internet: john.tucker@wmich.edu
University Computing Services Ham Radio: WB8ZVV/AA
Western Michigan University ICBM Addr.: 42 17 30 N 85 35 14 W
Kalamazoo, Michigan USA 49008 Audio Addr.: "Hey Tucker!"